package stacking;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 
 *
 */
public class Sample {
	
	int id;
	String classLabel;
	List<String> features;
	
	public Sample(){
		features = new ArrayList<String>();
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getClassLabel() {
		return classLabel;
	}
	public void setClassLabel(String classLabel) {
		this.classLabel = classLabel;
	}
	public String getFeature(int index) {
		return features.get(index);
	}
	public int getNumberFeatures(){
		return features.size();
	}
	public void addFeatures(String feature) {
		this.features.add(feature);
	}
	
}
